package com.yonyou.cyxdms.sysAuth.service.service.Login;

import com.yonyou.cyxdms.sysAuth.service.utill.RSAUtils;

import java.security.interfaces.RSAPrivateKey;

public class Test {

    public static void main(String[] args)throws Exception {
        System.out.print("ok");
       // String password2 ="o3A9Ur35Wmf/lI8ACYjqCZFRNchWb1OpRL9HxCfJ+4LKAxYGzvVOAb2+jxR6b8MhMDHxhKSOKxY1lj5OgenByyImZ2zgUv7h1u4IBUujnPn5/7llJVMBcECZn1BeRGdiHC/uMkX4fEIuDBGvP/vP/IM5Qw2C6WjSD9XyXzcTEWU=";
          String thisPw ="BYnREl/msAxDvJJ2SGtoHgNysoikdTyrTUhiCmEfuJiY88a4N4/JikGrK+Md/Bc8lFRCys0C1BVw\nk7K7BbzvLycMEfXG24NxgiGy2S//rDUh7Yqk0JWQ/Mzuhng3oBXsLrsMkogNWJ6xVhN/2Y4Q6YfY\nUOkvFhohjRWv+w90Nx0\u003d\n";


        System.out.print("ok2");
        RSAUtils rsaUtils = new RSAUtils();
        RSAPrivateKey privateKey = RSAUtils.getprivateKey();
        String loginPw = RSAUtils.decryptToString(thisPw, privateKey);
        System.out.println("login_pw = " + loginPw);
        System.out.print("ok3");
}
}
